package com.xzr2;

public class Bank {
     int year = 0;
     int  savedMoney = 0;
     double interest = 0.0;
     double rate = 0.35;

    double computerInterest(){

        interest=year*rate*savedMoney;
        return interest;

    }
}

